package mazegame;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;

@SuppressWarnings("serial")
public class GameState implements Serializable {
	
	private HashMap<Integer, Integer> playerTreasureCounts=null;
	private HashMap<Integer, MazePosition> playerPositions=null;
	private HashMap<MazePosition, Integer> treasurePositions=null;
	public int gameStartTickcount=0;
	private String serverHost="";
    private int serverPort=0;
    private String backupHost="";
    private int backupPort=0;

	
	public HashMap<Integer, Integer> getPlayerTreasureCounts() {
		return playerTreasureCounts;
	}
	public void setPlayerTreasureCounts(
			HashMap<Integer, Integer> playerTreasureCounts) {
		this.playerTreasureCounts = playerTreasureCounts;
	}
	public HashMap<Integer, MazePosition> getPlayerPositions() {
		return playerPositions;
	}
	public void setPlayerPositions(HashMap<Integer, MazePosition> playerPositions) {
		this.playerPositions = playerPositions;
	}
	public HashMap<MazePosition, Integer> getTreasurePositions() {
		return treasurePositions;
	}
	public void setTreasurePositions(
			HashMap<MazePosition, Integer> treasurePositions) {
		this.treasurePositions = treasurePositions;
	}
	public int getGameStartTickcount() {
		return gameStartTickcount;
	}
	public void setGameStartTickcount(int gameStartTickcount) {
		this.gameStartTickcount = gameStartTickcount;
	}
	public String getServerHost() {
		return serverHost;
	}
	public void setServerHost(String serverHost) {
		this.serverHost = serverHost;
	}
	public int getServerPort() {
		return serverPort;
	}
	public void setServerPort(int serverPort) {
		this.serverPort = serverPort;
	}
	public String getBackupHost() {
		return backupHost;
	}
	public void setBackupHost(String backupHost) {
		this.backupHost = backupHost;
	}
	public int getBackupPort() {
		return backupPort;
	}
	public void setBackupPort(int backupPort) {
		this.backupPort = backupPort;
	}
	
}
